package com.gzsxy.esjy.service.auth.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import com.gzsxy.esjy.service.base.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_user")
@ApiModel(value="user对象", description="类型")
public class User extends BaseEntity {

  private static final long serialVersionUID=1L;

  @ApiModelProperty(value = "微信登录id")
  private String openId;

  @ApiModelProperty(value = "用户名")
  private String userName;

  @ApiModelProperty(value = "密码")
  private String password;

  @ApiModelProperty(value = "姓名")
  private String name;

  @ApiModelProperty(value = "用户类型")
  private String userType;

  @ApiModelProperty(value = "性别")
  private Integer sex;

  @ApiModelProperty("身份证号")
  private String idCard;

  @ApiModelProperty(value = "学校")
  private String school;

  @ApiModelProperty(value = "生日")
  private String birthday;

  @ApiModelProperty(value = "邮箱")
  private String email;

  @ApiModelProperty(value = "手机号")
  private String phone;

  @ApiModelProperty(value = "头像")
  private String imagePath;

  @ApiModelProperty(value = "余额")
  private long amount;

  @ApiModelProperty(value = "状态：0.正常1.冻结2.商家账户待审核3.商家审核成功4.审核失败")
  private Integer freeze;




}
